package cn.edu.scau.cmi.chenjiale.integration.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * 教师实体类
 * 
 * @author chen.jiale
 * @date 2019/05/07
 *
 */
public class Teacher {
	private long id;
	private String name;
	private Set<Student> students = new HashSet<>(16);

	public Teacher() {

	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<Student> getStudents() {
		return students;
	}

	public void setStudents(Set<Student> students) {
		this.students = students;
	}
}
